home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-06-26 | 1.5 KB | 43 lines | [TEXT/GEOL] |
- Item 1637060 5-June-89 11:45
-
- From: D2086 Efficient Field Svc, C Faith, PRT
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Document/Window Relationship
-
- Hello,
-
- I am concerned that the current idea of what a document is is too limiting. I
- have addressed this issue as it pertains to commands and menus but now I have
- found another instance where the default behavior of MacApp is to assume a
- certain kind of window document relationship.
-
- In particular even if all the windows for a particular document have specified
- doesntCloseDocument the document will close if the window that is being closed
- is the last one up. This limits the documents usefulness. What if you don't
- want this to happen!
-
- Now I realize that I can change any of this that I want by subclassing TWindow
- and altering the CloseByUser method. But a better solution might be for MacApp
- itself to allow for a greater range of document utility. In particular how
- about changing the View definition from:
-
- boolean doesntCloseDocument, closesDocument;
-
- to
-
- unsigned bitstring[2] doesntCloseDocument, closesDocument,
- closesDocumentIfLast, unused;
-
- This way I can control when my documents get closed without having to OVERRIDE
- the standard behavior.
-
- regards,
- Curtis Faith
-
- I hope I'm not creating too much "noise" with this. I would be happy to take
- this private if that is the concensus.
-
-
-